-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Setting FileFieldGroup #18
base: master
Are you sure you want to change the base?
Conversation
WIP: requires correct parameters and testing
message={this.props.message} | ||
/> | ||
} | ||
<label |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use the FieldGroup.Label component
caldera-components/src/components/fields/magic-select/MagicFieldGroup.js
Lines 164 to 167 in 3684e10
<FieldGroup.Label | |
id={this.props.id} | |
label={this.props.label} | |
/> |
Display a file field using FieldGroup tag
- Use FieldGroup.Label - pass complete FileSelect props - set propTypes in propTypes.js
the example in app.js shows one way to use the regular input button for file upload
CalderaWP/Caldera-Forms#2775 |
WIP: requires correct parameters and testing #9